package com.chuantou.yuba.api.to;

import java.util.List;

import com.google.gson.annotations.SerializedName;

import android.os.Parcel;
import android.os.Parcelable;

public class GiftListTO implements Parcelable {
	// 好友列表
	@SerializedName("list")
	private List<GiftTO> gifts;
	// 当前页码
	@SerializedName("p")
	private int currentPage;

	public GiftListTO() {
	}

	public GiftListTO(Parcel source) {
		// TODO 需要序列化时再做
	}

	@Override
	public int describeContents() {
		return 0;
	}

	@Override
	public void writeToParcel(Parcel dest, int flags) {
		// TODO 需要序列化时再做
	}

	public static final Creator<GiftListTO> CREATOR = new Creator<GiftListTO>() {

		@Override
		public GiftListTO[] newArray(int size) {
			return new GiftListTO[size];
		}

		@Override
		public GiftListTO createFromParcel(Parcel source) {
			return new GiftListTO(source);
		}
	};

	public int getCurrentPage() {
		return currentPage;
	}

	public void setCurrentPage(int currentPage) {
		this.currentPage = currentPage;
	}

	public List<GiftTO> getGifts() {
		return gifts;
	}

	public void setGifts(List<GiftTO> gifts) {
		this.gifts = gifts;
	}

}
